package cn.tedu.demo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
public class Employee {
    private String name = "Tom";
    @Autowired
    private Date date;

    @Override
    public String toString() {
        return "Employee [name=" + name + ",date=" + date + "]";
    }
}
